package com.lyf.scm.admin.domain.remote.item.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * description:
 *
 * @author: haodong
 * @data: 2020/8/18 20:29
 */
@Data
@ApiModel("商品编码对应品类ID")
public class CategorySimpleDTO implements Serializable {

    @ApiModelProperty("后台类目主键id")
    private Integer id;

    @ApiModelProperty("后台类目编号")
    private Integer categoryCode;

    @ApiModelProperty("后台类目名称")
    private String categoryName;

    @ApiModelProperty("后台类目层级")
    private Integer categoryLevel;

    @ApiModelProperty("后台类目父id")
    private Integer parentId;

    @ApiModelProperty("后台类目list")
    private List<CategorySimpleDTO> parentCategoryDTOList;
}
